

const state = {
    // themesVal: localStorage.getItem('themesVal') || 0,
    themesVal: 0
}

const mutations = {
    toggleTheme(state, val) {
        state.themesVal = val
        localStorage.setItem('themesVal', val)
    }
}

const actions = {}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}